package com.example.sjly.ui.order;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;

import com.example.sjly.ui.scheduling.room.TOrderIn;

import java.util.List;

//填写界面
@Dao
public interface OrderDAO {

    @Insert
    void insert(Order...orders);

    @Query("Select * from OrderTable")
    List<Order> getAll();

    @Delete
    void delete(Order order);

}
